import React from 'react';
import { SelectCustom } from 'xuanyue';

export default () => {
  const list = [
    { id: 1, name: '你好' },
    { id: 2, name: '我好' },
  ];
  return (
    <div>
      <SelectCustom
        // value={1}
        style={{ width: '200px' }}
        optionList={list}
        keyValue={['name', 'id']}
        extraObject={{
          id: 3,
          name: '我是可能被删掉的一条数据',
        }}
      />
    </div>
  );
};
